package com.kgc.travel.mapper;

import com.kgc.travel.pojo.EduAdvertise;
import com.kgc.travel.pojo.EduAdvertiseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EduAdvertiseMapper {
    int countByExample(EduAdvertiseExample example);

    int deleteByExample(EduAdvertiseExample example);

    int deleteByPrimaryKey(Integer advertiseId);

    int insert(EduAdvertise record);

    int insertSelective(EduAdvertise record);

    List<EduAdvertise> selectByExample(EduAdvertiseExample example);

    EduAdvertise selectByPrimaryKey(Integer advertiseId);

    int updateByExampleSelective(@Param("record") EduAdvertise record, @Param("example") EduAdvertiseExample example);

    int updateByExample(@Param("record") EduAdvertise record, @Param("example") EduAdvertiseExample example);

    int updateByPrimaryKeySelective(EduAdvertise record);

    int updateByPrimaryKey(EduAdvertise record);
}